Repository navigation
Update v5 contract interfaces and E2E client - #2801
Merged
Merged
Conversation
olanod
marked this pull request as ready for review
November 6, 2026 17:21
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## v5.x #2801 +/- ##
=======================================
Coverage ? 71.32%
=======================================
Files ? 151
Lines ? 15860
Branches ? 260
=======================================
Hits ? 11312
Misses ? 4548
Partials ? 0 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates the v5 host bindings to UAPI 14, XCM types to 14.1 and the E2E client to Subxt 0.51. The changelog lists the API changes so we can flag them before the next release.
XCM 14.1 keeps FRAME out of contract dependencies and preserves Rust 1.81 support. This also removes the unused direct RPC dependency and disabled RISC-V CI jobs.
Checks
Runtime changes tested at
9b42810b; later commits add scoped lint allowances, format a crate name in the docs and fix the runtime-call example’s SCALE value import. Strict workspace Clippy passed at4a356367. The affected example’s strict Clippy, end-to-end test, formatting and manifest checks passed atadbfe41b.cargo +1.99.1 test --workspace --all-features --locked: 522 passed, 10 existing ignores.cargo +1.99.1 clippy --workspace --all-features --all-targets --locked -- -D warnings -A clippy::extra_unused_lifetimes: passed.cargo +1.81.0 check -p ink --lib --locked, also with--no-default-features --target wasm32-unknown-unknown: passed.cargo test --features e2e-tests: 20 focused tests passed across XCM, events, runtime calls, the runtime-only backend andupdate_delegate. Node-backed tests used contracts-node 0.41; sandbox tests used the current runtime.cargo test --all-features --locked: 11 passed on its configured nightly.zepter run checkpassed. Release Flipper is 1,679 bytes and passes the contracts-pallet Wasm restrictions.CI is rerunning after fixing the runtime-call example to use Subxt’s re-exported SCALE values. This removes its outdated direct dependency, which caused both failed jobs; a third job was cancelled.
Dependencies
Checked the published manifests, features, licenses and compiler requirements. Native Subxt and the existing sr25519/ecdsa signer features are retained; the signer updates its existing secp256k1 C bindings.
async-traitwas already transitive and replaces an RPC dependency used only for its macro. Subxt requires Rust 1.88; the FRAME testing tools already require current stable. Contract code still builds on 1.81. The refreshed licenses remain Apache/MIT/CC0/GPL variants, with CDLA-licensed certificate data in the TLS dependencies.XCM 16.2 also passed release-Wasm, old-node and XCM v5 sandbox tests, but adds 38 lockfile entries, a second FRAME stack and fails the retained 1.81 check. That expansion is left out of this PR.